package io.github.wslxm.springbootplus2.manage.sys.model.query.next;

import io.github.wslxm.springbootplus2.core.base.model.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

/**
 *   菜单
 *
 * @author 王松
 * @WX-QQ 1720696548
 * @date 2019/11/14 20:49
 */
@Data
@ToString(callSuper = true)
@Schema(name = "SysMenuTreeQuery", description = "菜单")
public class SysMenuTreeQuery extends BaseQuery {

    @Schema(title = "父id--非必传, 没有获取所有, 传递了只查询指定层级的下一级数据")
    private String pid;

    @Schema(title = "查询级别 (1-目录 2-菜单 3-页面) tree 查询接口 1=查询目录 2=查询目录+菜单 3= 2=查询目录+菜单+页面")
    private Integer root;

    @Schema(title = "禁用--非必传,（0-否，1-是)")
    private Integer disable;

    @Schema(title = "是否只返回当前登录用户存在的菜单--非必传, true是 false-否(默认)")
    private Boolean isLoginUser;

}
